﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/admin/TempAdmin.master" CodeFile="ServiceDetails.aspx.cs" Inherits="admin_ServiceDetails" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="ServiceDetail" runat="server" ContentPlaceHolderID="ContentRight">
     <form id="ServiceDetailForm" runat="server">
         <table>
            <tr>
                <td>
                 <table>
                     <tr>
                         <td>
                             <img src="../img/pixel_trans.gif" height="10px" />
                         </td>
                     </tr>
                     <tr>
                        <td colspan="3" align="center">
                            <asp:Label ID="lblHeader" runat="server" Text="Chi tiết dịch vụ" ForeColor="Black" Font-Size="Large" Font-Bold="True"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                             <img src="../img/pixel_trans.gif" height="10px" />
                        </td>    
                    </tr>
                    <tr>
                        <td colspan="3" align="center">
                            <asp:Label ID="lblTextMessage" runat="server" ForeColor="#003300"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 130px; text-align: right;">
                            <asp:Label ID="lblServiceID" runat="server" ForeColor="Black" Text="Mã: " ></asp:Label>    
                        </td>
                        <td style="width: 130px; padding-left:5px">
                            <asp:TextBox ID="txtServiceID" runat="server" ForeColor="Black" ReadOnly="true" Enabled="false"></asp:TextBox>
                        </td>
                        <td align="center" rowspan="4" style="width: 150px;height:auto">
                             <asp:Image ID="serviceRepresentImage" runat="server" Height="180px" Width="150px"  /> 
                             <BR/>
                            <asp:HyperLink ID="hlRepresentImage" runat="server" ForeColor="Black" Visible="false" >Hình đại diện</asp:HyperLink>                
                        </td>
                    </tr>
                    <tr>
                        <td>
                             <img src="../img/pixel_trans.gif" height="10px" />
                        </td> 
                        <td>
                        </td>  
                    </tr>
                    <tr>
                        <td style="width: 19%; text-align: right; height: 21px;">
                            <asp:Label ID="lblServiceName" runat="server" ForeColor="Black" Text="Tên dịch vụ: "></asp:Label>
                            <br />
                        </td>                
                        <td style="height: 21px; width: 318px;padding-left:5px;">
                            <asp:TextBox ID="txtServiceName" runat="server" TextMode="MultiLine" ForeColor="Black" Height="65px" Width="236px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                ErrorMessage="Bạn phải điền tên dịch vụ !" ControlToValidate="txtServiceName" ValidationGroup="Add_UpdateService" Display="None">
                            </asp:RequiredFieldValidator>
                       </td>
                   </tr>
                   <tr>
                       <td>
                            <img src="../img/pixel_trans.gif" height="10px" />
                       </td>
                       <td></td>    
                  </tr>
                  <tr>
                        <td align="right">
                            <asp:Label ID="lblBriefDesc" runat="server" ForeColor="Black" Text="Mô tả ngắn: "></asp:Label>
                        </td>
                        <td style="padding-left:5px;">
                             <asp:TextBox ID="txtBriefDesc" runat="server" ForeColor="Black"></asp:TextBox> 
                        </td>
                  </tr>
                   <tr>
                       <td>
                            <img src="../img/pixel_trans.gif" height="10px" />
                       </td>
                       <td></td>    
                  </tr>
                  <tr>
                       <td style="width: 19%; text-align: right;">
                            <asp:Label ID="lblServiceContent" runat="server" ForeColor="Black" Text="Nội dung dịch vụ: "></asp:Label>
                       </td>
                       <td colspan="2" style="width: 318px;padding-left:5px">
                            <FCKeditorV2:FCKeditor ID="fcContent" runat="server" Width="100%" BasePath="~/fckeditor/" Height="500px">
                            </FCKeditorV2:FCKeditor>
                       </td>
                 </tr>
                 <tr>
                       <td>
                           <img src="../img/pixel_trans.gif" height="10px" />
                       </td> 
                       <td>
                            <asp:HyperLink ID="hlRealService" runat="server" Text="Danh sach san pham dich vu" Visible="false"></asp:HyperLink>
                       </td>   
                 </tr>
                 <tr>
                       <td style="width: 19%; text-align: right;">&nbsp;</td>
                       <td style="width: 318px">&nbsp;&nbsp;</td>
                 </tr>
                 <tr>
                       <td> <img src="../img/pixel_trans.gif" height="10px" /></td>
                       <td style="width: 318px"></td>
                 </tr>
                 <tr>
                        <td></td>
                        <td style="width: 318px">
                             <asp:Button ID="btnUpdate" runat="server" Text="Cập nhật" Width="72px" onclick="btnUpdate_Click" ValidationGroup="Add_UpdateService"/>&nbsp;&nbsp;
                             <input id="reset1" type="reset" runat="server" value="Làm lại" style="width:72px" /> &nbsp;&nbsp;
                             <asp:Button ID="btnBack" runat="server" Text="Quay Lại" Width="72px" onclick="btnBack_Click" />&nbsp;&nbsp;
                             <asp:Button ID="btnDelete" runat="server" Text="Xóa" Width="72px" />           
                        </td>
                 </tr>
                 <tr>
                       <td>
                            <img src="../img/pixel_trans.gif" height="10px" />
                       </td>
                       <td></td>  
                 </tr>
                 <tr>
                        <td align="center" colspan="2">
                            <asp:ValidationSummary ID="ValidationSummary1" ForeColor="Red" ValidationGroup="Add_UpdateService" runat="server" DisplayMode="BulletList" />
                        </td>
                 </tr>
               </table>
            </td>
           </tr>
         </table>   
      </form>
</asp:Content>
